package com.gxa.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.sql.Timestamp;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Hospital {
    private Integer id;

    private String name;

    private Integer grade;

    private Integer nature;

    private String phone;

    private String hotline;

    private String address;

    private String alias;

    private String linkman;
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Timestamp createdDate;
}